package com.sangmo.fts.process.factoring.interfaces;

import com.sangmo.boot.framework.plugin.dataview.def.meta.DataField;
import com.sangmo.boot.framework.plugin.dataview.def.meta.DataView;
import com.sangmo.fts.process.factoring.model.FfLoan;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@DataView(value = FfLoan.class)
public class FfLoanAcceptRequest implements Serializable {

    @DataField(required = true)
    private BigDecimal approvedAmount;

    public BigDecimal getApprovedAmount() {
        return approvedAmount;
    }

    public void setApprovedAmount(BigDecimal approvedAmount) {
        this.approvedAmount = approvedAmount;
    }
}
